page {
    background-color: #f9f8f8;
    // background-color: black;
    padding-bottom: 60rpx;
}

// 头顶
.cart_title {
    background-color: white;
    display: flex;
    height: 120rpx;
    align-items: center;
    font-size: 60rpx;

    .num {
        font-size: 50rpx;
    }

    .top {
        font-weight: bolder;
        margin-left: 40rpx;
    }
}

//购物车内容 
.product-container {

    // background-color: aqua;
    .father {
        display: flex;
        justify-content: center;

        .product-wrap {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            width: 95%;
            border-radius: 25rpx;
            overflow: hidden;

            .product-item {
                border-bottom: 1rpx solid #c5c1c1;
                width: 100%;
                position: relative;
                .product-item-wrap {
                    display: flex;
                    background-color: white;
                    padding: 20rpx 20rpx;

                    .selector {
                        width: 50rpx;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        color: #e40a5e;
                    }

                    .product_img {
                        margin-left: 20rpx;
                        display: flex;
                        justify-content: center;
                        align-items: center;

                        .goods-img {
                            width: 150rpx;
                            height: 200rpx;
                        }

                    }

                    .product-movable-item {
                        padding-left: 30rpx;
                        display: flex;
                        flex-direction: column;
                        justify-content: space-between;

                        // font-size: 40rpx;
                        .goods-top {
                            flex: 3;
                            display: flex;
                            flex-direction: column;
                            .goods-name {
                                width: 400rpx;
                                display: -webkit-box;
                                overflow: hidden;
                                -webkit-box-orient: vertical;
                                -webkit-line-clamp: 1;
                                color: black;
                                font-size: 35rpx;
                            }

                            .goods-detail {
                                width: 440rpx;
                                display: flex;
                                font-size: 25rpx;
                                justify-content: space-between;
                                padding-top: 10rpx;
                                .goods-Degree,
                                .goods-edition,
                                .goods-notes {
                                    display: flex;
                                    justify-content: center;
                                    align-items: center;
                                    color: white;
                                    background-color: #e40a5e;
                                    width: 140rpx;
                                    height: 40rpx;
                                    border-radius: 25rpx;
                                    font-weight: bolder;
                                }
                            }
                        }


                        .goods-price {
                            flex: 1;
                            color: red;
                            display: flex;
                            justify-content: space-between;
                        }

                        // 删除叉叉的样式
                        .delete_wrap{
                            position: absolute;
                            right: 20rpx;
                            top: 10rpx;
                            .delete-icon{
                                width: 25rpx;
                                height: 25rpx;
                            }
                        }
                    }
                }
                // 删除的样式
                // .delete {
                //     font-size: 40rpx;
                //     color: white;
                //     margin: 120rpx 20rpx;
                // }
            }
            .product-item:last-child{
                border-bottom: 1rpx solid #f9f8f8;
            }
        }
    }

}


// 底部栏
.footer_tool {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80rpx;
    display: flex;
    background-color: white;
    padding: 20rpx;

    .all_chk_wrap {
        flex: 1;
        display: flex;
        justify-content: space-around;
        align-items: center;
    }

    .total_price_wrap {
        flex: 2;
        text-align: left;
        display: flex;
        // justify-content: space-around;
        align-items: center;

        .total_price_text {
            font-size: 26rpx;
        }

        .total_price {
            font-size: 36rpx;
            color: #e40a5e;
            font-weight: bolder;
        }
    }

    .order_pay_wrap {
        flex: 1;
        background-color: #e40a5e;
        color: white;
        font-size: 36rpx;
        margin-right: 40rpx;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50rpx;
    }
}

// 没有商品时的布局
.cart_none {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    .men {
        margin-top: 140rpx;
    }

    .zi {
        margin-top: 80rpx;
        color: #535454;
    }

    .go {
        background-color: #fe5659;
        width: 560rpx;
        height: 120rpx;
        border-radius: 60rpx;
        margin-top: 200rpx;

        .wen {
            display: flex;
            justify-content: center;
            margin-top: 30rpx;
            color: white;
            font-size: large;
        }
    }
}